<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core" xml:lang="en" lang="en">
	<head>
		<title>My Facelets Page</title>
		<meta http-equiv="keywords" content="enter,your,keywords,here" />
		<meta http-equiv="description"
			content="A short description of this page." />
		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

		<!--<link rel="stylesheet" type="text/css" href="styles.css">-->
	</head>
	<body>
		<p>
		<h:form>
			<ui:insert name="body"><div align="center">登陆<br/></div>
			
			<div align="center">用户名：<h:inputText value="#{user.userName}"/><br/> </div>
			
			<div align="center">密码  <h:inputSecret value="#{user.password}"/> </div><br/>
			<div align="center"><h:commandButton value="登陆" action="#{user.login}"></h:commandButton> </div><br/>
	
			</ui:insert>
					</h:form>
		</p>
	</body>
</html>
